<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <script src="https://unpkg.com/ming_mock@1.9.7/index.js"></script>

<body>
  <div id="root"></div>

</html>

<script>
  M.cache.loadJs("main", "main.js");
  M.cache.loadCss("main_cs", "main.css");
</script>

<script>
      let user=  M.getAttribute("user")
      if(user==undefined){
        location.href="/static/login.html"
      }
        M.fetchGet("/__check",d=>{
            if(d.data==0){
              location.href="/static/login.html"
          }
    },{username:user.username,password:user.password})
</script>